/**
 * MenuAuthTree.java
 * Version 1.0.0
 * Created on 2018年7月9日
 *
 */
package com.yincheng.oes.sso.entity;

import java.io.Serializable;
import java.util.List;

/**
 * @author yangsy
 * @version 1.0.0
 * @since
 * 创建时间：2018年7月9日
 * 功能描述：菜单权限树形结构实体
 * 邮箱地址：446948434@qq.com
 */
public class MenuAuthTree implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = -2811077156347446166L;

    /**
     * 节点ID
     */
    private Integer id;

    /**
     * 节点名称
     */
    private String name;

    /**
     * 节点路径
     */
    private String path;

    /**
     * 父节点id
     */
    private Integer parentId;

    /**
     * 是否为叶子节点，默认true,是叶子节点
     */
    private Boolean leaf = true;

    /**
     * 是否展开，默认true,展开
     */
    private Boolean expanded = true;

    /**
     * 孩子节点
     */
    private List<MenuAuthTree> children;

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the path
     */
    public String getPath() {
        return path;
    }

    /**
     * @param path the path to set
     */
    public void setPath(String path) {
        this.path = path;
    }

    /**
     * @return the id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return the parentId
     */
    public Integer getParentId() {
        return parentId;
    }

    /**
     * @param parentId the parentId to set
     */
    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    /**
     * @return the leaf
     */
    public Boolean getLeaf() {
        return leaf;
    }

    /**
     * @param leaf the leaf to set
     */
    public void setLeaf(Boolean leaf) {
        this.leaf = leaf;
    }

    /**
     * @return the expanded
     */
    public Boolean getExpanded() {
        return expanded;
    }

    /**
     * @param expanded the expanded to set
     */
    public void setExpanded(Boolean expanded) {
        this.expanded = expanded;
    }

    /**
     * @return the children
     */
    public List<MenuAuthTree> getChildren() {
        return children;
    }

    /**
     * @param children the children to set
     */
    public void setChildren(List<MenuAuthTree> children) {
        this.children = children;
    }

}
